package com.ciwong.epaper.modules.evaluate.bean;

import com.ciwong.mobilelib.bean.BaseBean;

/**
 * 学生获取打卡作业列表
 */
public class UserDkWork extends BaseBean {

    /**
     * 作业 id
     */
    private String workId;

    /**
     * 作业名称
     */
    private String workName;

    /**
     * 打卡规则
     */
    private String dkRule;

    /**
     * 作业计划天数
     */
    private int dkdays;

    /**
     * 作业开始时间(时间戳，单位秒)
     */
    private int sendDate;

    /**
     * 作业完成时间(时间戳，单位秒)
     */
    private int effectiveDate;

    /**
     * 服务器时间(时间戳，单位秒)
     */
    private int nowDate;

    /**
     * 作业总人数
     */
    private int totalNum;

    /**
     * 作业是否开始1：开始，0：未开始
     */
    private int isStart;

    /**
     * 今天是否是打卡日1：是，0：不是
     */
    private int todayIsDkDay;

    /**
     * 最近一次生效的打卡日信息（未开始就没有此字段）
     */
    private TodayDate todayDate;

    public String getWorkId() {
        return workId;
    }

    public void setWorkId(String workId) {
        this.workId = workId;
    }

    public String getWorkName() {
        return workName;
    }

    public void setWorkName(String workName) {
        this.workName = workName;
    }

    public String getDkRule() {
        return dkRule;
    }

    public void setDkRule(String dkRule) {
        this.dkRule = dkRule;
    }

    public int getDkdays() {
        return dkdays;
    }

    public void setDkdays(int dkdays) {
        this.dkdays = dkdays;
    }

    public int getSendDate() {
        return sendDate;
    }

    public void setSendDate(int sendDate) {
        this.sendDate = sendDate;
    }

    public int getEffectiveDate() {
        return effectiveDate;
    }

    public void setEffectiveDate(int effectiveDate) {
        this.effectiveDate = effectiveDate;
    }

    public int getTotalNum() {
        return totalNum;
    }

    public void setTotalNum(int totalNum) {
        this.totalNum = totalNum;
    }

    public int getIsStart() {
        return isStart;
    }

    public void setIsStart(int isStart) {
        this.isStart = isStart;
    }

    public int getTodayIsDkDay() {
        return todayIsDkDay;
    }

    public void setTodayIsDkDay(int todayIsDkDay) {
        this.todayIsDkDay = todayIsDkDay;
    }

    public TodayDate getTodayDate() {
        return todayDate;
    }

    public void setTodayDate(TodayDate todayDate) {
        this.todayDate = todayDate;
    }

    public int getNowDate() {
        return nowDate;
    }

    public void setNowDate(int nowDate) {
        this.nowDate = nowDate;
    }

    @Override
    public String toString() {
        return "UserDkWork{" +
                "workId='" + workId + '\'' +
                ", workName='" + workName + '\'' +
                ", dkRule='" + dkRule + '\'' +
                ", dkdays=" + dkdays +
                ", sendDate=" + sendDate +
                ", effectiveDate=" + effectiveDate +
                ", nowDate=" + nowDate +
                ", totalNum=" + totalNum +
                ", isStart=" + isStart +
                ", todayIsDkDay=" + todayIsDkDay +
                ", todayDate=" + todayDate +
                '}';
    }
}
